package com.atguigu.day08.work;

public enum Color {
    RAD('赤'),
    ORANGE('橙'),
    YELLOW('黄'),
    GREEN('绿'),
    CYAN('青'),
    BLUE('蓝'),
    PURPLE('紫');

    private char color;

    Color(char color) {
        this.color = color;
    }

    public char getColor() {
        return color;
    }

    public void setColor(char color) {
        this.color = color;
    }
}
